package com.twb.auth.entity.twbUser;

import java.io.Serializable;

import org.apache.ibatis.type.JdbcType;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;

/**
 * <p>
 * 用户角色对照表
 * </p>
 *
 * @author DSY
 * @since 2018-10-24
 */
@TableName(value = "twb_user_role")
public class TwbUserRole implements Serializable {

	private static final long serialVersionUID = 1L;

	/**
	 * 用户编号
	 */
	@TableField(value="user_id",jdbcType = JdbcType.VARCHAR)
	private String userId;

	/**
	 * 角色编号
	 */
	@TableField(value="role_id",jdbcType = JdbcType.VARCHAR)
	private String roleId;

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getRoleId() {
		return roleId;
	}

	public void setRoleId(String roleId) {
		this.roleId = roleId;
	}

	@Override
	public String toString() {
		return "TwbUserRole{" + "userId=" + userId + ", roleId=" + roleId + "}";
	}
}
